package com.arvato.common.test;

import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
import java.util.zip.ZipInputStream;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import com.arvato.common.task.WxWorkImportTask;
import com.arvato.wxwork.bean.bean_vo.staff.WxworkPositionVo;
import com.arvato.wxwork.mapper.staff.WxworkPositionMapper;
import com.arvato.wxwork.service.member.WxworkTagService;

public class WxworkAreaService extends BaseTestCase {

	@Autowired
	private WxWorkImportTask wxWorkImport;

	@Autowired
	private WxworkPositionMapper wxworkPositionMapper;

	@Test
	public void testGetList() {
		/*
		 * Query query=new Query(); query.put("staffId", "12"); List<WxworkTagDo> list =
		 * wxworkTagService.getTagListByParam(query); System.out.println(list.get(0));
		 */
	}

	/**
	 * 根据ID查询详情
	 * 
	 * @param areaId
	 * @return
	 */
	public void getPositionById() {
		String id = "0";
		WxworkPositionVo vo = wxworkPositionMapper.getPositionById(id);
		System.out.println(vo);
	}



	 
	 @Test
	 public void test() {
		 wxWorkImport.importCounter();
	 }
}
